MCErrorMessages.h File Reference


Enumerations

enum  EMCErrorCode { kMCUnableToBindToPort = 1, kMCUnableToListenOnPort = 2, kMCUnableToAcceptConnection = 3, kMCUnableToConnect = 4 }

Functions

const TMCString * GetErrorMessage (EMCErrorCode errorCode)

Enumeration Type Documentation

enum EMCErrorCode
 

The MCCore error codes.

Enumerator:
kMCUnableToBindToPort 
kMCUnableToListenOnPort 
kMCUnableToAcceptConnection 
kMCUnableToConnect 


Function Documentation

const TMCString* GetErrorMessage (  EMCErrorCode  errorCode  ) 
 

Returns a string with the text corresponding to a given error code in MCCore. This function can be called from an extension as well as from the application. and it is thread safe.

Parameters:
errorCode The error code (see EMCErrorCode)
Returns:
A pointer to the error message, NULL if the error message array is not allocated.


Generated on Wed Dec 7 14:27:28 2005 for Carrara SDK Doc by  doxygen 1.4.5